/* Document CSS */
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #242424;
    color: #EBF2EB;
}

/*-------------- Header -------------*/
.title{
    text-align: center;
    color: #FFF;
    font-size: 40px;
    margin:30px 20px;
}

.line-break{
    background-color: #02B875;
    padding: 2px 10px;
    margin-left: 10%;
    margin-right: 10%;
}

.line-break-post{
    background-color: #02B875;
    padding: 2px 10px;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 30px;
}

.header{
    width: 100%;
    padding: 10px 10px 
}
.container{
    padding: 10px 10%;
}
.container-header{
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 10px 10px;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
nav ul li{
    display: inline-block;
    text-align: center;
    list-style: none;
    padding: 40px 40px;
}
nav ul li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 40px;
    position: relative;
    
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #02B875;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}

/* Blog Post Section */

.post-meta{
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.post-title{
    text-align: center;
    font-size: 45px;
    color: #02B875;
}
.post-content{
    margin-left: 19%;
    margin-right: 19%;
    font-size: 20px;
    text-align: left;
    line-height: 35px;
    background: #3a3a3a;
    padding: 30px 30px;
    border-radius: 10px;
}

/* Previous/Next Buttons */

.transition{
  margin: 30px 20px;
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items:center;
  margin-left: 19%;
  margin-right: 19%;
}

.previous {
  background-color: #02B875;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 7px;
}

.next {
  background-color: #02B875;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 7px;
}

.blog-pictures{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  margin-bottom: 5%;
  margin-top: 5%;
  border: 3px solid white;
}



/* ----------------- Footer---------------------- */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");


.footer {
  position: relative;
  width: 100%;
  background: #02B875;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 135px;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 20px;
  display: inline-block;
  transition: 0.5s;
}
.social-icon__link:hover {
  transform: translateY(-10px);
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  
  /* Change this to the color I want simple photoshop */
  background: url(/Media/wave_green.png);
  background-size: 1000px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 12s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 12s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}


/* Screen Size Adjustments */


@media screen and (max-width: 900px){
    nav ul li a {
        font-size: 26px;
    }

    nav ul li{
        padding: 20px 20px;
    }

    .title{
      font-size: 32px;
    }

    .post-content{
      margin-left: 15px;
      margin-right: 15px;
    }
}

@media only screen and (max-width: 500px){
    .content-time{
      font-size: 12px;
      padding:8px 10px;
    }

    .category{
      font-size: 12px;
      padding:8px 10px;
    }

    .blog-content a{
      font-size: 12px;
      padding:8px 10px;
    }
    .title{
      font-size: 30px;
      padding-top: 1rem;
    }

    nav ul li{
      padding: 15px 15px;
    }

    nav ul li a{
      font-size: 20px;
    }

    .footer p{
      font-size: 0.8rem
    }

    .post-title{
      font-size: 28px;
      padding-left: 10px;
      padding-right: 10px;
    }

    .post-meta{
      font-size: 16px;
    }

    .post-content{
      font-size: 16px;
      padding-left: 15px;
      padding-right: 15px;
      margin-left: 25px;
      margin-right: 25px;
    }

    .post-content p{
      padding-bottom: 10px;
    }

    .transition {
      font-size: 18px;
      margin-left: 10%;
      margin-right: 11%;
    }

    .blog-pictures{
      width: 90%;
    }

}


